package cn.edu.zjut.medlinebackend.mapper;

import cn.edu.zjut.medlinebackend.model.Members;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author chtholly
* @description 针对表【members】的数据库操作Mapper
* @createDate 2023-12-20 19:35:22
* @Entity cn.edu.zjut.medlinebackend.model.Members
*/
public interface MembersMapper extends BaseMapper<Members> {
    List<Members> getMembers(@Param("groupname")String groupname);
    List<String> getAllByUsername(@Param("username")String username);
    boolean deleteMember(@Param("groupname")String groupname,@Param("username")String username);
}




